<?
/**
 * <b>AddressType Class</b>
 * Published 04/11/2010 18:56:31
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('AddressUsageCodeType.php');
require_once('CountryCodeType.php');
require_once('AddressOwnerCodeType.php');

class AddressType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var string $AddressID
	public $AddressID;
	// @var AddressOwnerCodeType $AddressOwner
	public $AddressOwner;
	// @var AddressUsageCodeType $AddressUsage
	public $AddressUsage;
	// @var string $CityName
	public $CityName;
	// @var string $CompanyName
	public $CompanyName;
	// @var CountryCodeType $Country
	public $Country;
	// @var string $CountryName
	public $CountryName;
	// @var string $County
	public $County;
	// @var string $ExternalAddressID
	public $ExternalAddressID;
	// @var string $FirstName
	public $FirstName;
	// @var string $InternationalName
	public $InternationalName;
	// @var string $InternationalStateAndCity
	public $InternationalStateAndCity;
	// @var string $InternationalStreet
	public $InternationalStreet;
	// @var string $LastName
	public $LastName;
	// @var string $Name
	public $Name;
	// @var string $Phone
	public $Phone;
	// @var string $Phone2
	public $Phone2;
	// @var string $Phone2AreaOrCityCode
	public $Phone2AreaOrCityCode;
	// @var CountryCodeType $Phone2CountryCode
	public $Phone2CountryCode;
	// @var string $Phone2CountryPrefix
	public $Phone2CountryPrefix;
	// @var string $Phone2LocalNumber
	public $Phone2LocalNumber;
	// @var string $PhoneAreaOrCityCode
	public $PhoneAreaOrCityCode;
	// @var CountryCodeType $PhoneCountryCode
	public $PhoneCountryCode;
	// @var string $PhoneCountryPrefix
	public $PhoneCountryPrefix;
	// @var string $PhoneLocalNumber
	public $PhoneLocalNumber;
	// @var string $PostalCode
	public $PostalCode;
	// @var string $StateOrProvince
	public $StateOrProvince;
	// @var string $Street
	public $Street;
	// @var string $Street1
	public $Street1;
	// @var string $Street2
	public $Street2;
 /** End Properties **/

/**
 *
 * @return string
 */
	function getAddressID(){
		return $this->AddressID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAddressID($value){
		$this->AddressID = $value;
	}


/**
 *
 * @return AddressOwnerCodeType
 */
	function getAddressOwner(){
		return $this->AddressOwner;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAddressOwner($value){
		$this->AddressOwner = $value;
	}


/**
 *
 * @return AddressUsageCodeType
 */
	function getAddressUsage(){
		return $this->AddressUsage;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAddressUsage($value){
		$this->AddressUsage = $value;
	}


/**
 *
 * @return string
 */
	function getCityName(){
		return $this->CityName;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCityName($value){
		$this->CityName = $value;
	}


/**
 *
 * @return string
 */
	function getCompanyName(){
		return $this->CompanyName;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCompanyName($value){
		$this->CompanyName = $value;
	}


/**
 *
 * @return CountryCodeType
 */
	function getCountry(){
		return $this->Country;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCountry($value){
		$this->Country = $value;
	}


/**
 *
 * @return string
 */
	function getCountryName(){
		return $this->CountryName;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCountryName($value){
		$this->CountryName = $value;
	}


/**
 *
 * @return string
 */
	function getCounty(){
		return $this->County;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCounty($value){
		$this->County = $value;
	}


/**
 *
 * @return string
 */
	function getExternalAddressID(){
		return $this->ExternalAddressID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setExternalAddressID($value){
		$this->ExternalAddressID = $value;
	}


/**
 *
 * @return string
 */
	function getFirstName(){
		return $this->FirstName;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setFirstName($value){
		$this->FirstName = $value;
	}


/**
 *
 * @return string
 */
	function getInternationalName(){
		return $this->InternationalName;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setInternationalName($value){
		$this->InternationalName = $value;
	}


/**
 *
 * @return string
 */
	function getInternationalStateAndCity(){
		return $this->InternationalStateAndCity;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setInternationalStateAndCity($value){
		$this->InternationalStateAndCity = $value;
	}


/**
 *
 * @return string
 */
	function getInternationalStreet(){
		return $this->InternationalStreet;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setInternationalStreet($value){
		$this->InternationalStreet = $value;
	}


/**
 *
 * @return string
 */
	function getLastName(){
		return $this->LastName;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setLastName($value){
		$this->LastName = $value;
	}


/**
 *
 * @return string
 */
	function getName(){
		return $this->Name;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setName($value){
		$this->Name = $value;
	}


/**
 *
 * @return string
 */
	function getPhone(){
		return $this->Phone;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPhone($value){
		$this->Phone = $value;
	}


/**
 *
 * @return string
 */
	function getPhone2(){
		return $this->Phone2;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPhone2($value){
		$this->Phone2 = $value;
	}


/**
 *
 * @return string
 */
	function getPhone2AreaOrCityCode(){
		return $this->Phone2AreaOrCityCode;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPhone2AreaOrCityCode($value){
		$this->Phone2AreaOrCityCode = $value;
	}


/**
 *
 * @return CountryCodeType
 */
	function getPhone2CountryCode(){
		return $this->Phone2CountryCode;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPhone2CountryCode($value){
		$this->Phone2CountryCode = $value;
	}


/**
 *
 * @return string
 */
	function getPhone2CountryPrefix(){
		return $this->Phone2CountryPrefix;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPhone2CountryPrefix($value){
		$this->Phone2CountryPrefix = $value;
	}


/**
 *
 * @return string
 */
	function getPhone2LocalNumber(){
		return $this->Phone2LocalNumber;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPhone2LocalNumber($value){
		$this->Phone2LocalNumber = $value;
	}


/**
 *
 * @return string
 */
	function getPhoneAreaOrCityCode(){
		return $this->PhoneAreaOrCityCode;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPhoneAreaOrCityCode($value){
		$this->PhoneAreaOrCityCode = $value;
	}


/**
 *
 * @return CountryCodeType
 */
	function getPhoneCountryCode(){
		return $this->PhoneCountryCode;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPhoneCountryCode($value){
		$this->PhoneCountryCode = $value;
	}


/**
 *
 * @return string
 */
	function getPhoneCountryPrefix(){
		return $this->PhoneCountryPrefix;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPhoneCountryPrefix($value){
		$this->PhoneCountryPrefix = $value;
	}


/**
 *
 * @return string
 */
	function getPhoneLocalNumber(){
		return $this->PhoneLocalNumber;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPhoneLocalNumber($value){
		$this->PhoneLocalNumber = $value;
	}


/**
 *
 * @return string
 */
	function getPostalCode(){
		return $this->PostalCode;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPostalCode($value){
		$this->PostalCode = $value;
	}


/**
 *
 * @return string
 */
	function getStateOrProvince(){
		return $this->StateOrProvince;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setStateOrProvince($value){
		$this->StateOrProvince = $value;
	}


/**
 *
 * @return string
 */
	function getStreet(){
		return $this->Street;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setStreet($value){
		$this->Street = $value;
	}


/**
 *
 * @return string
 */
	function getStreet1(){
		return $this->Street1;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setStreet1($value){
		$this->Street1 = $value;
	}


/**
 *
 * @return string
 */
	function getStreet2(){
		return $this->Street2;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setStreet2($value){
		$this->Street2 = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("AddressType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"AddressID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"AddressOwner"=>
					array(
						"required"=>false,
						"type"=>"AddressOwnerCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"AddressUsage"=>
					array(
						"required"=>false,
						"type"=>"AddressUsageCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CityName"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CompanyName"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Country"=>
					array(
						"required"=>false,
						"type"=>"CountryCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CountryName"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"County"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ExternalAddressID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"FirstName"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"InternationalName"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"InternationalStateAndCity"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"InternationalStreet"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"LastName"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Name"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Phone"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Phone2"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Phone2AreaOrCityCode"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Phone2CountryCode"=>
					array(
						"required"=>false,
						"type"=>"CountryCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Phone2CountryPrefix"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Phone2LocalNumber"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PhoneAreaOrCityCode"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PhoneCountryCode"=>
					array(
						"required"=>false,
						"type"=>"CountryCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PhoneCountryPrefix"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PhoneLocalNumber"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PostalCode"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"StateOrProvince"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Street"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Street1"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Street2"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
